/*
 * =====================================================================================
 *
 *        Filename:  NLGEngine.cc
 *
 *        Description:  
 *
 *        Version:  1.0
 *        Created:  12/24/21 10:56:26
 *
 *        Author:  XXXX (), XXXX
 *        Company:  XXXX
 *        Copyright:  Copyright 2021, XXXX
 *
 * =====================================================================================
 */
#include "NLGEngine.h"
#include "NLGEngineImpl.h"
#include "Log.h"

#ifdef LOG_TAG 
#undef LOG_TAG 
#endif 

#define LOG_TAG "NLGEngine"

static NLGEngineImpl *gNLGEngineImpl = nullptr;

NLGEngine::NLGEngine() {
	LogD("new");

	if(nullptr == gNLGEngineImpl){
		gNLGEngineImpl = new NLGEngineImpl();
	}
}

NLGEngine::~NLGEngine() {
	LogD("del");
}
		

void NLGEngine::setListener(const NLGEngineListener* listener) {
	LogD("In");
	gNLGEngineImpl->setListener(listener);
}
